package com.tledu.production.mapper.crafts;

import com.tledu.production.model.crafts.TechnologyModel;
import com.tledu.production.model.crafts.TechnologyPlanModel;
import com.tledu.production.model.crafts.TechnologyRequirementModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.ui.Model;

import java.util.List;
@Mapper
public interface TechnologyReallyPlanMapper {
    //分页查询
    List<TechnologyPlanModel>list();
    //根据工艺名称查询
    List<TechnologyPlanModel>selectByName(@Param("type")String condition, @Param("searchText") String conditionName);
    //删除
    int del(String technologyPlanId);
    //添加
    int insertRel(TechnologyPlanModel technologyPlanModel);
    //编辑
    int update(TechnologyPlanModel technologyPlanModel);
    //通过名字查找
    TechnologyPlanModel select(String technologyPlanId);
}
